<h3>
Olá, este é seu primeiro acesso a area administrativa e é necessário 
criar as tabelas para realizar o login, execute o script abaixo:
</h3>

<p>
CREATE TABLE `tb_user` (<br />
  `use_id` int(11) NOT NULL auto_increment,<br />
  `use_user` varchar(255) default NULL,<br />
  `use_psw` varchar(1000) character set latin1 default NULL,<br />
  `use_name` varchar(255) default NULL,<br />
  `use_level` varchar(45) default NULL,<br />
  `active` int(10) unsigned default '0',<br />
  PRIMARY KEY  USING BTREE (`use_id`)<br />
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;<br /><br />

CREATE TABLE  `tb_user_login` (<br />
  `log_id` int(11) NOT NULL auto_increment,<br />
  `log_date` datetime NOT NULL,<br />
  `log_ip` varchar(255) character set utf8 collate utf8_general_ci NOT NULL,<br />
  `use_id` int(11) NOT NULL,<br />
  PRIMARY KEY  (`log_id`),<br />
  KEY `use_id` (`use_id`),<br />
  CONSTRAINT `use_id` FOREIGN KEY (`use_id`) REFERENCES `tb_user` (`use_id`) ON DELETE CASCADE ON UPDATE CASCADE<br />
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;<br /><br />
</p>

<hr />

<p>
INSERT INTO tb_user (use_user,use_psw,use_name,active,use_level)values('mateusweb@gmail.com',AES_ENCRYPT('qwe123','qwe123'),'Mateus Martins','1','master');<br />
INSERT INTO tb_user (use_user,use_psw,use_name,active,use_level)values('edu',AES_ENCRYPT('qwe123','qwe123'),'Mateus Martins','1','master');<br />
INSERT INTO tb_user (use_user,use_psw,use_name,active,use_level)values('sample1',AES_ENCRYPT('qwe123','qwe123'),'Sample 1','0','admin');
</p>

